package com.sinodata.bsm.common.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SystemParameter entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SYSTEM_PARAMETER")
public class SystemParameter implements java.io.Serializable {

    // Fields    

    private String key;
    private String value;

    // Constructors

    /** default constructor */
    public SystemParameter() {
    }

    /** minimal constructor */
    public SystemParameter(String key) {
        this.key = key;
    }

    /** full constructor */
    public SystemParameter(String key, String value) {
        this.key = key;
        this.value = value;
    }

    // Property accessors
    @Id
    @Column(name = "param_name", unique = true, nullable = false, insertable = true, updatable = true, length = 1024)
    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Column(name = "param_val", unique = false, nullable = true, insertable = true, updatable = true, length = 1024)
    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}